package com.intel.two.mapper.recordMapper;

import com.intel.two.pojo.record.RentingaHouseRecord;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RentingaHouseRecordMapper {
    List<RentingaHouseRecord> selectAllRecord(Map<String, Object> params);

    int rentingahouseAdd(RentingaHouseRecord record);

    @Delete("delete from t_record_rentingahouse where r_id = #{id}")
    int deleteRentingahouse(@Param("id") Integer id);

    int deleteRentingahouseList(Integer[] ids);

    int update(RentingaHouseRecord record);
}
